#生产者
from celery_tasks.main import app
from libs.yuntongxun.sms import CCP
import logging
logger = logging.getLogger('django')

# name：异步任务别名
@app.task
def send_sms_code(mobile, sms_code):

   CCP().send_template_sms(mobile, [sms_code, 5], 1)

